﻿using System.ComponentModel.DataAnnotations;

namespace Entity.System.DTO.Login
{
    /// <summary>
    /// 登录模型
    /// </summary>
    public class LoginDTO
    {
        /// <summary>
        /// 账号
        /// </summary>
        [Required(ErrorMessage = "账号Account不可为空")]
        public string Account { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        [Required(ErrorMessage = "密码Password不可为空")]
        public string Password { get; set; }
    }
}
